package com.qf.admin.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("`goods`")
public class Goods {

    @TableId(value = "`id`",type = IdType.AUTO)
    private Long id;
    @TableField("`goods_type_id`")
    private Long goodsTypeId;
    @TableField("`name`")
    private String name;
    @TableField("`price`")
    private Integer price;
    @TableField("`pic`")
    private String pic;
    @TableField("`description`")
    private String description;
    @TableField("`shelfdate`")
    private Date shelfdate;
    @TableField("`is_seckill`")
    private Integer isSeckill;
    @TableField("`discount`")
    private Integer discount;
    @TableField("`s_price`")
    private Integer sPrice;
    @TableField("`parameters`")
    private String parameters;
    @TableField("`status`")
    private Integer status;
    @TableField("`createtime`")
    private Date createtime;
    @TableField("`is_delete`")
    private Integer isDelete;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Long goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getShelfdate() {
        return shelfdate;
    }

    public void setShelfdate(Date shelfdate) {
        this.shelfdate = shelfdate;
    }

    public Integer getIsSeckill() {
        return isSeckill;
    }

    public void setIsSeckill(Integer isSeckill) {
        this.isSeckill = isSeckill;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Integer getsPrice() {
        return sPrice;
    }

    public void setsPrice(Integer sPrice) {
        this.sPrice = sPrice;
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }
}
